import abs from './absrightmenuitemaction.js'
class XlinkSettingAction extends abs.IRightMenuItemAction {
    constructor(map) {
        super(map);
    }
    act2Click(evt) {
        console.log("XlinkSettingAction:xxx---------");
        let preXlink = "";
        let extDataInfo = window.mainctl.m_pGetDataINTF.getExtDatas(0);
        if (extDataInfo){
            preXlink = extDataInfo.xlink;
            window.xlinkSettingDlg.value.curentSelUUID = preXlink;
        }
        else{
            window.xlinkSettingDlg.value.curentSelUUID = "";
        }
        window.xlinkSettingDlg.value.visible = true;
    }
}

export default { XlinkSettingAction }